package com.njym.payment.alipay.properties;

import com.njym.annotation.ExistCheck;

import javax.validation.constraints.NotBlank;

/**
 * @author zhy
 * @date 2019-11-01 14:59
 **/
public class getDataParams {
	@NotBlank(message = "outTradeNo不能为空")
	private String org_id;

	/**
	 * 渠道ID
	 */
	@NotBlank(message = "channelId不能为空")
	private String channel_id;

	/**
	 * 支付方式
	 */
	@NotBlank(message = "mode_id不能为空")
	private String mode_id;

	/**
	 * 交易类型
	 */
	@NotBlank(message = "rec_type不能为空")
	private String rec_type;

	private String authCode;

	@NotBlank(message = "outTradeNo不能为空")
//	@ExistCheck(message = "订单号已存在，请重新生成！")
	private String out_trade_no;

	@NotBlank(message = "TradeNo不能为空")
	private String trade_no;

	/**
	 * 病人卡号
	 */
	private String cardNo;

	/**
	 * 病人姓名
	 */
	private String name;

	/**
	 * 订单总金额
	 */
	@NotBlank(message = "total_fee(交易金额)不能为空")
	private String total_fee;

	/**
	 * 交易类型
	 */
	private String trade_type;

	/**
	 * 交易状态
	 */
	private String trade_status;

	/**
	 *
	 */
	private String terminalId;

	/**
	 * 备注
	 */
	private String remarks;

	/**
	 * 申请退款的号码
	 */
	private String out_request_no;

	/**
	 * 商户操作员编号
	 */
	private String operatorId;

	/**
	 * 操作员姓名
	 */
	private String operatorName;

	public String getOut_request_no() {
		return out_request_no;
	}

	public void setOut_request_no(String out_request_no) {
		this.out_request_no = out_request_no;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getOrg_id() {
		return org_id;
	}

	public void setOrg_id(String org_id) {
		this.org_id = org_id;
	}

	public String getChannel_id() {
		return channel_id;
	}

	public void setChannel_id(String channel_id) {
		this.channel_id = channel_id;
	}

	public String getMode_id() {
		return mode_id;
	}

	public void setMode_id(String mode_id) {
		this.mode_id = mode_id;
	}

	public String getRec_type() {
		return rec_type;
	}

	public void setRec_type(String rec_type) {
		this.rec_type = rec_type;
	}

	public String getAuthCode() {
		return authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}

	public String getOut_trade_no() {
		return out_trade_no;
	}

	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}

	public String getTrade_no() {
		return trade_no;
	}

	public void setTrade_no(String trade_no) {
		this.trade_no = trade_no;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTotal_fee() {
		return total_fee;
	}

	public void setTotal_fee(String total_fee) {
		this.total_fee = total_fee;
	}

	public String getTrade_type() {
		return trade_type;
	}

	public void setTrade_type(String trade_type) {
		this.trade_type = trade_type;
	}

	public String getTrade_status() {
		return trade_status;
	}

	public void setTrade_status(String trade_status) {
		this.trade_status = trade_status;
	}

	public String getTerminalId() {
		return terminalId;
	}

	public void setTerminalId(String terminalId) {
		this.terminalId = terminalId;
	}

	public String getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}

	public String getOperatorName() {
		return operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}
}
